import http from "../../utils/http"



/**
 * 申请成为拼团商
 * @param {object} params
 */
export function newapply(params) {
    return http({
        url: "/platformpintuan/api/Pintuantrader/apply",
        data: params,
        forceLogin: true
    })
}


/**
 * 获取拼团商信息
 * @param {object} params
 */
export function pintuantraderApplydetail(params) {
    return http({
        url: "/platformpintuan/api/Pintuantrader/applyDetail",
        data: params,
        forceLogin: true
    })
}


/**
 * 申请成为代理商
 * @param {object} params
 */
export function newAgentApply(params) {
    return http({
        url: "/platformpintuan/api/Pintuantrader/agentApply",
        data: params,
        forceLogin: true
    })
}



/**
 * 获取代理商信息
 * @param {object} params
 */
export function pintuantraderAgentApplydetail(params) {
    return http({
        url: "/platformpintuan/api/Pintuantrader/agentApplyDetail",
        data: params,
        forceLogin: true
    })
}






/**
 * 获取会员详情信息
 * @param {object} params
 */
export function memberDetail(params) {
    return http({
        url: "/platformpintuan/api/Pintuantrader/detail",
        data: params,
        forceLogin: true
    })
}